package com.ypinkj.app.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 企业注册
 * </p>
 *
 * @author LF
 * @since 2020-09-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("c_company")
@ApiModel(value = "CCompany对象", description = "")
public class CCompany implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "企业名称")
    private String companyname;

    @ApiModelProperty(value = "企业登录名")
    private String companylogin;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "密码")
    private String password;

    private String token;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "资质图片")
    private String qualificationPic;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "删除标记")
    @TableField(fill = FieldFill.INSERT)
    private String delFlag;

    @ApiModelProperty(value = "审核状态")
    private String status;

    private Integer firstLogin;//是否第一次登录 0是第一次 1不是第一次登录


    private String address;//公司地址
    private String companyLogo;//公司LOgo
    private String companyNature;//公司性质
    private String companyScale;//公司规模
    private String companyIndustry;//所属行业


}
